package cn.yangliu.nacos.management.model;

import cn.yangliu.jpa.annotations.JpaQuery;
import cn.yangliu.jpa.enums.QueryTypeEnum;
import cn.yangliu.nacos.comm.model.PageModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * The type of nacos.
 *
 * @author 问道于盲
 * @date 2020 -01-01
 */
@Data
public class RoleQueryModel extends PageModel {

    /**
     * current class instance's member.
     * The Rolename.
     */
    @ApiModelProperty(value = "角色名称", example = "管理员")
    @JpaQuery(type = QueryTypeEnum.LIKE)
    private String rolename;

}
